<template>
	<view>
		<text>得分：{{score}}</text>
		<button @click="returnToMain">返回主页</button>
	</view>
</template>

<script setup>
	import { ref } from 'vue'
	const score = ref(0)
	score.value = getApp().globalData.examResult;
	const returnToMain = () =>{
		uni.navigateTo({
			url: '/pages/index/index'
		});
	}
</script>

<style>

</style>
